package com.bw.mapper;

import com.bw.entity.Roleadm;
import com.bw.entity.TbUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface PortMapper {

//    List getList();
//
//    void del(int id);
//
//    void add(Student student);
//
//    List getClazz();
//
//    Student getStudentById(int id);
//
//    void update(Student student);

    TbUser login(TbUser tbUser);

    List portlist(@Param("mohu") String mohu);

    List rolelist(@Param("mohu") String mohu);

    Roleadm admadds(Roleadm roleadm);

    String[] admdel(@Param("id") String id);

    Roleadm findByadma(@Param("id") int id);

    void updateByadmaKey(Roleadm adma);

    List portcontext(@Param("qxqid") int qxqid);

    List rcport(@Param("rcid")int rcid,@Param("pdid")int pdid);

    List ccport(@Param("ccid")int ccid,@Param("pdid")int pdid);

    List requesthead(@Param("shicid")int shicid,@Param("interid") int interid);

    List requestbody(@Param("shicid")int shicid, @Param("interid")int interid);

    List Successorfailure();
}
